<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
  
    <head>
        <title>凯吉斯WEBGIS平台</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="shortcut icon" href="platform/favorite.ico" type="image/x-icon"></link>
        <style type="text/css" media="screen"> 
            html, body  { height:100%; }
            body { margin:0; padding:0; overflow:auto; text-align:center; 
                   background-color: #ffffff; }   
            #flashContent { display:none; }
        </style>

        <link rel="stylesheet" type="text/css" href="history/history.css" />
        <script type="text/javascript" src="history/history.js"></script>
        <script type="text/javascript" src="js/mapInterface.js"></script>
        <script type="text/javascript" src="js/jsonTool.js"></script> 
            
        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
            var swfVersionStr = "10.1.0";
            var xiSwfUrlStr = "playerProductInstall.swf";
            var flashvars = {};
            var params = {};
            params.quality = "high";
            params.bgcolor = "#FFFFF0";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            params.wmode = "Opaque";	//解决flash遮挡div

            var attributes = {};
            attributes.id = "index";
            attributes.name = "index";
            attributes.align = "middle";
            swfobject.embedSWF(
                "Main.swf", "flashContent", 
                "100%", "100%", 
                swfVersionStr, xiSwfUrlStr, 
                flashvars, params, attributes,embedswfCallback);
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");
            
            function onloadFocus() {
                application = document.getElementById("kgis-map");
                //wait 100 ms as the focus mechanism of firefox
                setTimeout('application.focus()', 100);
             }
            function embedswfCallback(e)
	        {
	        	if(e.success == true)
	        	{        		
	        		if (window.addEventListener)
	        		{
					        /** DOMMouseScroll is for mozilla. */
					        //window.addEventListener('DOMMouseScroll', wheel, false);
					}
					/** IE/Opera. */
					//window.onmousewheel = document.onmousewheel = wheel;  
					document.onmousewheel = wheel;
	        	}
	        }
	        
	        function wheel(event)
	        {
		        var delta = 0;		        
		        	        
		        if (!event) /* For IE. */
		                event = window.event;
		        if (event.wheelDelta) 
		        { /* IE/Opera. */
		                delta = event.wheelDelta/120;
		        } 
		        else if (event.detail) 
		        { /** Mozilla case. */
		                /** In Mozilla, sign of delta is different than in IE.
		                 * Also, delta is multiple of 3.
		                 */
		                delta = -event.detail/3;
		        }
		        
		        var eventObj = {	
					bubbles : event.bubbles,						
					buttonDown : event.buttonDown,						
					cancelable : event.cancelable,						
					altKey : event.altKey,						
					ctrlKey : event.ctrlKey,						
					localX : event.clientX,						
					localY : event.clientY,						
					shiftKey : event.shiftKey						
				};	
		        
		        eventObj.delta=delta;
		        
		        /** If delta is nonzero, handle it.
		         * Basically, delta is now positive if wheel was scrolled up,
		         * and negative, if wheel was scrolled down.
		         */
		       	if(delta!=0)
		        	handle(eventObj);
		        
		        /** Prevent default actions caused by mouse wheel.
		         * That might be ugly, but we handle scrolls somehow
		         * anyway, so don't bother here..
		         */
		        if (event.preventDefault)
		                event.preventDefault();
		                
				event.returnValue = false;
			}
			
        </script>
    </head>
    <body onload="onloadFocus()">
        <div id="flashContent">
            <p>
                To view this page ensure that Adobe Flash Player version 
                11.1.0 or greater is installed. 
            </p>
        </div>
        
        <noscript>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="kgis-map">
                <param name="movie" value="Main.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#869ca7" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="true" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="Main.swf" width="100%" height="100%">
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="true" />
                <!--[if gte IE 6]>-->
                    <p> 
                        Either scripts and active content are not permitted to run or Adobe Flash Player version
                        11.1.0 or greater is not installed.
                    </p>
                </object>
            </object>
        </noscript>     
   </body>
</html>
